package com.atguigu.service;

import com.atguigu.pojo.User;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {

    List<User>  listAllByUserName(String name);

    IPage<User>  listAllByUserNamePage(String name, IPage page);
}
